package com.yu.subject.domain.handler.subject;

import com.yu.subject.common.enums.SubjectInfoTypeEnum;
import com.yu.subject.domain.entity.SubjectInfoBO;
import com.yu.subject.domain.entity.SubjectOptionBO;

/**
 * @author 路亚
 * @version 0.1
 * @className SubjectTypeHandler
 * @description
 * @date 2024/12/24 22:30
 * @since jdk11
 */
public interface SubjectTypeHandler {

    /**
     * 枚举身份的识别
     * @return
     */
    SubjectInfoTypeEnum getHandlerType();

    /**
     * 实际题目的添加
     * @param subjectInfoBO
     */
    void add(SubjectInfoBO subjectInfoBO);

    SubjectOptionBO query(Integer subjectId);
}
